<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>小红书 - 管理员申请未通过</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            line-height: 1.6;
            color: #333;
            max-width: 600px;
            margin: 0 auto;
            padding: 20px;
        }
        .container {
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 30px;
            background-color: #fff;
        }
        .header {
            text-align: center;
            margin-bottom: 30px;
        }
        .header h2 {
            color: #dc3545;
            margin: 0;
        }
        .content {
            margin: 20px 0;
        }
        .result-box {
            background-color: #f8d7da;
            border: 1px solid #f5c6cb;
            color: #721c24;
            border-radius: 6px;
            padding: 20px;
            margin: 20px 0;
            text-align: center;
        }
        .result-icon {
            font-size: 48px;
            margin-bottom: 15px;
        }
        .result-text {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .reviewer-info {
            background-color: #f8f9fa;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
        }
        .reject-reason {
            background-color: #fff3cd;
            border: 1px solid #ffeaa7;
            border-radius: 6px;
            padding: 15px;
            margin: 20px 0;
        }
        .next-steps {
            background-color: #e3f2fd;
            border-left: 4px solid #2196f3;
            padding: 15px;
            margin: 20px 0;
            border-radius: 4px;
        }
        .footer {
            font-size: 12px;
            color: #999;
            text-align: center;
            margin-top: 30px;
            border-top: 1px solid #eee;
            padding-top: 15px;
        }
        .highlight {
            font-weight: bold;
            color: #dc3545;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="header">
        <h2>❌ 管理员申请未通过</h2>
    </div>

    <div class="content">
        <p>您好，<span class="highlight" th:text="${applicantUsername}">用户</span>：</p>

        <div class="result-box">
            <div class="result-icon">❌</div>
            <div class="result-text">很抱歉，您的管理员申请未能通过</div>
            <p>请查看下方信息，并在条件满足后重新申请。</p>
        </div>

        <div class="reviewer-info">
            <p><strong>📝 审核信息：</strong></p>
            <p>审核人：<span th:text="${reviewerUsername}">超级管理员</span></p>
            <p>审核时间：<span th:text="${#temporals.format(#temporals.createNow(), 'yyyy-MM-dd HH:mm:ss')}">2024-01-01 12:00:00</span></p>
        </div>

        <div th:if="${!#strings.isEmpty(rejectReason)}" class="reject-reason">
            <p><strong>🔍 拒绝原因：</strong></p>
            <p th:text="${rejectReason}">申请材料不完整</p>
        </div>

        <div class="next-steps">
            <p><strong>📋 后续步骤：</strong></p>
            <p>• 您可以在满足条件后重新申请</p>
            <p>• 如对审核结果有疑问，请联系超级管理员</p>
            <p>• 感谢您对小红书平台的关注</p>
        </div>

        <p>感谢您的理解与支持！</p>

        <p>谢谢，<br />小红书团队</p>
    </div>

    <div class="footer">
        <p>此邮件由系统自动发送，请勿回复。如有疑问请联系系统管理员。</p>
    </div>
</div>
</body>
</html>